<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.2"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>轮回之牢: BaseBag类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">轮回之牢<span id="projectnumber">&#160;0.0.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.2 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="#pro-attribs">Protected 属性</a> &#124;
<a href="class_base_bag-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">BaseBag类 参考</div></div>
</div><!--header-->
<div class="contents">

<p>背包基类  
 <a href="class_base_bag.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="_base_bag_8h_source.html">BaseBag.h</a>&gt;</code></p>
<div class="dynheader">
类 BaseBag 继承关系图:</div>
<div class="dyncontent">
<div class="center"><img src="class_base_bag__inherit__graph.png" border="0" usemap="#a_base_bag_inherit__map" alt="Inheritance graph"/></div>
<map name="a_base_bag_inherit__map" id="a_base_bag_inherit__map">
<area shape="rect" title="背包基类" alt="" coords="55,5,129,32"/>
<area shape="rect" href="class_buff_bag.html" title="玩家存储buff的背包" alt="" coords="5,80,72,107"/>
<area shape="rect" href="class_mob_drop_bag.html" title="怪物掉落物背包" alt="" coords="97,80,194,107"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">图例</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a277bde808d4e1f921ca8c5cc71255d86"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_bag.html#a277bde808d4e1f921ca8c5cc71255d86">getBagSize</a> () const</td></tr>
<tr class="memdesc:a277bde808d4e1f921ca8c5cc71255d86"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取背包容量，在背包无限容量时可能获取到任意值  <a href="class_base_bag.html#a277bde808d4e1f921ca8c5cc71255d86">更多...</a><br /></td></tr>
<tr class="separator:a277bde808d4e1f921ca8c5cc71255d86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4cbdaa521e82519640cbb62cfeb55786"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_bag.html#a4cbdaa521e82519640cbb62cfeb55786">empty</a> () const</td></tr>
<tr class="memdesc:a4cbdaa521e82519640cbb62cfeb55786"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取背包是否为空  <a href="class_base_bag.html#a4cbdaa521e82519640cbb62cfeb55786">更多...</a><br /></td></tr>
<tr class="separator:a4cbdaa521e82519640cbb62cfeb55786"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6f593bd54b79f960ebfc3994e95f957"><td class="memItemLeft" align="right" valign="top">std::map&lt; int, <a class="el" href="class_base_item.html">BaseItem</a> * &gt;::const_iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_bag.html#ab6f593bd54b79f960ebfc3994e95f957">begin</a> () const</td></tr>
<tr class="memdesc:ab6f593bd54b79f960ebfc3994e95f957"><td class="mdescLeft">&#160;</td><td class="mdescRight">遍历背包的迭代器起点  <a href="class_base_bag.html#ab6f593bd54b79f960ebfc3994e95f957">更多...</a><br /></td></tr>
<tr class="separator:ab6f593bd54b79f960ebfc3994e95f957"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4a165434591a83c9c610c79d7bbe6be"><td class="memItemLeft" align="right" valign="top">std::map&lt; int, <a class="el" href="class_base_item.html">BaseItem</a> * &gt;::const_iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_bag.html#ac4a165434591a83c9c610c79d7bbe6be">end</a> () const</td></tr>
<tr class="memdesc:ac4a165434591a83c9c610c79d7bbe6be"><td class="mdescLeft">&#160;</td><td class="mdescRight">遍历背包的迭代器终点  <a href="class_base_bag.html#ac4a165434591a83c9c610c79d7bbe6be">更多...</a><br /></td></tr>
<tr class="separator:ac4a165434591a83c9c610c79d7bbe6be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5f96f0a0b99c9c8dca416e4d54e5ec0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_bag.html#ad5f96f0a0b99c9c8dca416e4d54e5ec0">BaseBag</a> (int bagSize, bool <a class="el" href="class_base_bag.html#afaaac1e5e162510ab3d25c9a8c0de3c1">infinite_size</a>=false)</td></tr>
<tr class="memdesc:ad5f96f0a0b99c9c8dca416e4d54e5ec0"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造函数  <a href="class_base_bag.html#ad5f96f0a0b99c9c8dca416e4d54e5ec0">更多...</a><br /></td></tr>
<tr class="separator:ad5f96f0a0b99c9c8dca416e4d54e5ec0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3dcd7ede0d822471bccc6550688c0d74"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_bag.html#a3dcd7ede0d822471bccc6550688c0d74">inputItem</a> (<a class="el" href="class_base_item.html">BaseItem</a> *item)</td></tr>
<tr class="memdesc:a3dcd7ede0d822471bccc6550688c0d74"><td class="mdescLeft">&#160;</td><td class="mdescRight">向背包内放入东西，返回是否放入成功  <a href="class_base_bag.html#a3dcd7ede0d822471bccc6550688c0d74">更多...</a><br /></td></tr>
<tr class="separator:a3dcd7ede0d822471bccc6550688c0d74"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a179deee9049854bd7a8e108ca3e2f3dd"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_bag.html#a179deee9049854bd7a8e108ca3e2f3dd">outputItem</a> (const <a class="el" href="class_point.html">Point</a> &amp;drop_pos, <a class="el" href="class_drop_object.html">DropObject</a> **drop_object_star)</td></tr>
<tr class="memdesc:a179deee9049854bd7a8e108ca3e2f3dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">从背包丢出东西 返回是否丢弃成功  <a href="class_base_bag.html#a179deee9049854bd7a8e108ca3e2f3dd">更多...</a><br /></td></tr>
<tr class="separator:a179deee9049854bd7a8e108ca3e2f3dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15cc761c013e5cc36db4ec45e642f531"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_bag.html#a15cc761c013e5cc36db4ec45e642f531">outputItem</a> (<a class="el" href="class_base_item.html">BaseItem</a> **drop_object_star)</td></tr>
<tr class="memdesc:a15cc761c013e5cc36db4ec45e642f531"><td class="mdescLeft">&#160;</td><td class="mdescRight">从背包丢出东西，用于在背包之间转移东西  <a href="class_base_bag.html#a15cc761c013e5cc36db4ec45e642f531">更多...</a><br /></td></tr>
<tr class="separator:a15cc761c013e5cc36db4ec45e642f531"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab95f67e853a800ffd8afa953c002f909"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_bag.html#ab95f67e853a800ffd8afa953c002f909">draw</a> (float window_width, float window_height) const</td></tr>
<tr class="memdesc:ab95f67e853a800ffd8afa953c002f909"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于前端的绘制函数  <a href="class_base_bag.html#ab95f67e853a800ffd8afa953c002f909">更多...</a><br /></td></tr>
<tr class="separator:ab95f67e853a800ffd8afa953c002f909"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63b46cc31fb2c6029a8643dc78126d82"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_base_item.html">BaseItem</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_bag.html#a63b46cc31fb2c6029a8643dc78126d82">operator[]</a> (int index)</td></tr>
<tr class="memdesc:a63b46cc31fb2c6029a8643dc78126d82"><td class="mdescLeft">&#160;</td><td class="mdescRight">取背包内对应下标的物品  <a href="class_base_bag.html#a63b46cc31fb2c6029a8643dc78126d82">更多...</a><br /></td></tr>
<tr class="separator:a63b46cc31fb2c6029a8643dc78126d82"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adce0190c906b6d9f59bcd0d3d5d8b5bd"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_bag.html#adce0190c906b6d9f59bcd0d3d5d8b5bd">getItemIndex</a> () const</td></tr>
<tr class="memdesc:adce0190c906b6d9f59bcd0d3d5d8b5bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取当前物品索引  <a href="class_base_bag.html#adce0190c906b6d9f59bcd0d3d5d8b5bd">更多...</a><br /></td></tr>
<tr class="separator:adce0190c906b6d9f59bcd0d3d5d8b5bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2490bc1b4b60b9e1aa997b3d8efaff1d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_bag.html#a2490bc1b4b60b9e1aa997b3d8efaff1d">setItemIndex</a> (int itemIndex)</td></tr>
<tr class="memdesc:a2490bc1b4b60b9e1aa997b3d8efaff1d"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置当前物品索引  <a href="class_base_bag.html#a2490bc1b4b60b9e1aa997b3d8efaff1d">更多...</a><br /></td></tr>
<tr class="separator:a2490bc1b4b60b9e1aa997b3d8efaff1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a602a4d3f0bd9a9f5e010d4ed13c00afd"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_bag.html#a602a4d3f0bd9a9f5e010d4ed13c00afd">canInputItem</a> (<a class="el" href="class_base_item.html">BaseItem</a> *baseItem)</td></tr>
<tr class="memdesc:a602a4d3f0bd9a9f5e010d4ed13c00afd"><td class="mdescLeft">&#160;</td><td class="mdescRight">用于检测物体与背包的兼容性，限制物品类型的背包必须实现 不检查背包剩余容量  <a href="class_base_bag.html#a602a4d3f0bd9a9f5e010d4ed13c00afd">更多...</a><br /></td></tr>
<tr class="separator:a602a4d3f0bd9a9f5e010d4ed13c00afd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1ab953e57727217c20aa5fb6d851c20"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_bag.html#ad1ab953e57727217c20aa5fb6d851c20">normalRefresh</a> ()</td></tr>
<tr class="memdesc:ad1ab953e57727217c20aa5fb6d851c20"><td class="mdescLeft">&#160;</td><td class="mdescRight">每帧刷新是调用，可以在此进行可消耗物品的刷新  <a href="class_base_bag.html#ad1ab953e57727217c20aa5fb6d851c20">更多...</a><br /></td></tr>
<tr class="separator:ad1ab953e57727217c20aa5fb6d851c20"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a87bb57c8aab2d24dfb07f8c0e225eaea"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_base_bag.html#a87bb57c8aab2d24dfb07f8c0e225eaea">swapItem</a> (<a class="el" href="class_base_bag.html">BaseBag</a> *bag1, <a class="el" href="class_base_bag.html">BaseBag</a> *bag2)</td></tr>
<tr class="memdesc:a87bb57c8aab2d24dfb07f8c0e225eaea"><td class="mdescLeft">&#160;</td><td class="mdescRight">尝试交换两个背包内的物品，可能失败  <a href="class_base_bag.html#a87bb57c8aab2d24dfb07f8c0e225eaea">更多...</a><br /></td></tr>
<tr class="separator:a87bb57c8aab2d24dfb07f8c0e225eaea"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-attribs" name="pro-attribs"></a>
Protected 属性</h2></td></tr>
<tr class="memitem:a27dc71924115f9284cf64cc032c2f93c"><td class="memItemLeft" align="right" valign="top"><a id="a27dc71924115f9284cf64cc032c2f93c" name="a27dc71924115f9284cf64cc032c2f93c"></a>
std::map&lt; int, <a class="el" href="class_base_item.html">BaseItem</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>items</b></td></tr>
<tr class="memdesc:a27dc71924115f9284cf64cc032c2f93c"><td class="mdescLeft">&#160;</td><td class="mdescRight">背包内的物品 <br /></td></tr>
<tr class="separator:a27dc71924115f9284cf64cc032c2f93c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea3001595075da8c4defb45ab097bc2d"><td class="memItemLeft" align="right" valign="top"><a id="aea3001595075da8c4defb45ab097bc2d" name="aea3001595075da8c4defb45ab097bc2d"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>bag_size</b></td></tr>
<tr class="memdesc:aea3001595075da8c4defb45ab097bc2d"><td class="mdescLeft">&#160;</td><td class="mdescRight">背包大小，仅在背包容量有限时触发 <br /></td></tr>
<tr class="separator:aea3001595075da8c4defb45ab097bc2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afaaac1e5e162510ab3d25c9a8c0de3c1"><td class="memItemLeft" align="right" valign="top"><a id="afaaac1e5e162510ab3d25c9a8c0de3c1" name="afaaac1e5e162510ab3d25c9a8c0de3c1"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>infinite_size</b> = false</td></tr>
<tr class="memdesc:afaaac1e5e162510ab3d25c9a8c0de3c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">背包是否无限，默认否 <br /></td></tr>
<tr class="separator:afaaac1e5e162510ab3d25c9a8c0de3c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a432ec09167d998913960f2ae59c59422"><td class="memItemLeft" align="right" valign="top"><a id="a432ec09167d998913960f2ae59c59422" name="a432ec09167d998913960f2ae59c59422"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>item_index</b> = 0</td></tr>
<tr class="memdesc:a432ec09167d998913960f2ae59c59422"><td class="mdescLeft">&#160;</td><td class="mdescRight">当前物品的索引值 <br /></td></tr>
<tr class="separator:a432ec09167d998913960f2ae59c59422"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p >背包基类 </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="ad5f96f0a0b99c9c8dca416e4d54e5ec0" name="ad5f96f0a0b99c9c8dca416e4d54e5ec0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad5f96f0a0b99c9c8dca416e4d54e5ec0">&#9670;&nbsp;</a></span>BaseBag()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">BaseBag::BaseBag </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>bagSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>infinite_size</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>构造函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">bagSize</td><td>背包大小，背包无限容量时可以传入任意值 </td></tr>
    <tr><td class="paramname">infinite_size</td><td>是否无限容量 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="ab6f593bd54b79f960ebfc3994e95f957" name="ab6f593bd54b79f960ebfc3994e95f957"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab6f593bd54b79f960ebfc3994e95f957">&#9670;&nbsp;</a></span>begin()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::map&lt; int, <a class="el" href="class_base_item.html">BaseItem</a> * &gt;::const_iterator BaseBag::begin </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>遍历背包的迭代器起点 </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="a602a4d3f0bd9a9f5e010d4ed13c00afd" name="a602a4d3f0bd9a9f5e010d4ed13c00afd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a602a4d3f0bd9a9f5e010d4ed13c00afd">&#9670;&nbsp;</a></span>canInputItem()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool BaseBag::canInputItem </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_base_item.html">BaseItem</a> *&#160;</td>
          <td class="paramname"><em>baseItem</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>用于检测物体与背包的兼容性，限制物品类型的背包必须实现 不检查背包剩余容量 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">baseItem</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

<p>被 <a class="el" href="class_buff_bag.html#addcc7928a2e0ddf829608006816ddb4e">BuffBag</a> 重载.</p>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="class_base_bag_a602a4d3f0bd9a9f5e010d4ed13c00afd_icgraph.png" border="0" usemap="#aclass_base_bag_a602a4d3f0bd9a9f5e010d4ed13c00afd_icgraph" alt=""/></div>
<map name="aclass_base_bag_a602a4d3f0bd9a9f5e010d4ed13c00afd_icgraph" id="aclass_base_bag_a602a4d3f0bd9a9f5e010d4ed13c00afd_icgraph">
<area shape="rect" title="用于检测物体与背包的兼容性，限制物品类型的背包必须实现 不检查背包剩余容量" alt="" coords="1009,31,1167,57"/>
<area shape="rect" href="class_base_bag.html#a3dcd7ede0d822471bccc6550688c0d74" title="向背包内放入东西，返回是否放入成功" alt="" coords="825,5,961,32"/>
<area shape="rect" href="class_base_bag.html#a87bb57c8aab2d24dfb07f8c0e225eaea" title="尝试交换两个背包内的物品，可能失败" alt="" coords="639,56,777,83"/>
<area shape="rect" href="class_buff_bag.html#ae2dfdb782565fe8384b9261c9ae34bda" title="向buff背包内放置物品" alt="" coords="644,5,772,32"/>
<area shape="rect" href="class_base_scene.html#ae18694318eacca974fba5f4005bf44cf" title="刷新场景" alt="" coords="417,56,591,83"/>
<area shape="rect" href="class_base_scene.html#a889d8e409b748d9af28dd0d547801bb9" title="启动游戏" alt="" coords="247,56,369,83"/>
<area shape="rect" href="class_base_scene_ui.html#a43dd94fb44be28fbde58e7d9614b5900" title="继续游戏" alt="" coords="5,31,199,57"/>
<area shape="rect" href="class_base_scene_ui.html#ac5b5974fb1dd35155932791c888f04d9" title="开始游戏" alt="" coords="35,81,169,108"/>
</map>
</div>

</div>
</div>
<a id="ab95f67e853a800ffd8afa953c002f909" name="ab95f67e853a800ffd8afa953c002f909"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab95f67e853a800ffd8afa953c002f909">&#9670;&nbsp;</a></span>draw()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void BaseBag::draw </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>window_width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>window_height</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>用于前端的绘制函数 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">window_width</td><td></td></tr>
    <tr><td class="paramname">window_height</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>被 <a class="el" href="class_buff_bag.html#a4a2d2cf7e41261afecf9981e429fc18a">BuffBag</a> 重载.</p>

</div>
</div>
<a id="a4cbdaa521e82519640cbb62cfeb55786" name="a4cbdaa521e82519640cbb62cfeb55786"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4cbdaa521e82519640cbb62cfeb55786">&#9670;&nbsp;</a></span>empty()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool BaseBag::empty </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取背包是否为空 </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="class_base_bag_a4cbdaa521e82519640cbb62cfeb55786_icgraph.png" border="0" usemap="#aclass_base_bag_a4cbdaa521e82519640cbb62cfeb55786_icgraph" alt=""/></div>
<map name="aclass_base_bag_a4cbdaa521e82519640cbb62cfeb55786_icgraph" id="aclass_base_bag_a4cbdaa521e82519640cbb62cfeb55786_icgraph">
<area shape="rect" title="获取背包是否为空" alt="" coords="247,93,365,120"/>
<area shape="rect" href="class_base_player.html#a8992b35c366b882b29cdd43214dc6b8e" title="角色被攻击时调用" alt="" coords="27,5,177,32"/>
<area shape="rect" href="class_base_player.html#aac31c29c954679acce97217293bad308" title="刷新攻击冷却并根据传入的attack攻击" alt="" coords="5,57,199,98"/>
<area shape="rect" href="class_base_player.html#abccfdd44993e56c3196cd44e888f350d" title="角色沿X方向移动" alt="" coords="35,123,169,149"/>
<area shape="rect" href="class_base_player.html#a8020289a4df61f692cfe5aa14cde017b" title="角色沿Y方向移动" alt="" coords="34,173,170,200"/>
</map>
</div>

</div>
</div>
<a id="ac4a165434591a83c9c610c79d7bbe6be" name="ac4a165434591a83c9c610c79d7bbe6be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac4a165434591a83c9c610c79d7bbe6be">&#9670;&nbsp;</a></span>end()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::map&lt; int, <a class="el" href="class_base_item.html">BaseItem</a> * &gt;::const_iterator BaseBag::end </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>遍历背包的迭代器终点 </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="a277bde808d4e1f921ca8c5cc71255d86" name="a277bde808d4e1f921ca8c5cc71255d86"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a277bde808d4e1f921ca8c5cc71255d86">&#9670;&nbsp;</a></span>getBagSize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int BaseBag::getBagSize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取背包容量，在背包无限容量时可能获取到任意值 </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="class_base_bag_a277bde808d4e1f921ca8c5cc71255d86_icgraph.png" border="0" usemap="#aclass_base_bag_a277bde808d4e1f921ca8c5cc71255d86_icgraph" alt=""/></div>
<map name="aclass_base_bag_a277bde808d4e1f921ca8c5cc71255d86_icgraph" id="aclass_base_bag_a277bde808d4e1f921ca8c5cc71255d86_icgraph">
<area shape="rect" title="获取背包容量，在背包无限容量时可能获取到任意值" alt="" coords="639,31,789,57"/>
<area shape="rect" href="class_base_scene.html#ae18694318eacca974fba5f4005bf44cf" title="刷新场景" alt="" coords="417,31,591,57"/>
<area shape="rect" href="class_base_scene.html#a889d8e409b748d9af28dd0d547801bb9" title="启动游戏" alt="" coords="247,31,369,57"/>
<area shape="rect" href="class_base_scene_ui.html#a43dd94fb44be28fbde58e7d9614b5900" title="继续游戏" alt="" coords="5,5,199,32"/>
<area shape="rect" href="class_base_scene_ui.html#ac5b5974fb1dd35155932791c888f04d9" title="开始游戏" alt="" coords="35,56,169,83"/>
</map>
</div>

</div>
</div>
<a id="adce0190c906b6d9f59bcd0d3d5d8b5bd" name="adce0190c906b6d9f59bcd0d3d5d8b5bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adce0190c906b6d9f59bcd0d3d5d8b5bd">&#9670;&nbsp;</a></span>getItemIndex()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int BaseBag::getItemIndex </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取当前物品索引 </p>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="a3dcd7ede0d822471bccc6550688c0d74" name="a3dcd7ede0d822471bccc6550688c0d74"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3dcd7ede0d822471bccc6550688c0d74">&#9670;&nbsp;</a></span>inputItem()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool BaseBag::inputItem </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_base_item.html">BaseItem</a> *&#160;</td>
          <td class="paramname"><em>item</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>向背包内放入东西，返回是否放入成功 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">item</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

<p>被 <a class="el" href="class_buff_bag.html#ae2dfdb782565fe8384b9261c9ae34bda">BuffBag</a> 重载.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="class_base_bag_a3dcd7ede0d822471bccc6550688c0d74_cgraph.png" border="0" usemap="#aclass_base_bag_a3dcd7ede0d822471bccc6550688c0d74_cgraph" alt=""/></div>
<map name="aclass_base_bag_a3dcd7ede0d822471bccc6550688c0d74_cgraph" id="aclass_base_bag_a3dcd7ede0d822471bccc6550688c0d74_cgraph">
<area shape="rect" title="向背包内放入东西，返回是否放入成功" alt="" coords="5,5,141,32"/>
<area shape="rect" href="class_base_bag.html#a602a4d3f0bd9a9f5e010d4ed13c00afd" title="用于检测物体与背包的兼容性，限制物品类型的背包必须实现 不检查背包剩余容量" alt="" coords="189,5,347,32"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="class_base_bag_a3dcd7ede0d822471bccc6550688c0d74_icgraph.png" border="0" usemap="#aclass_base_bag_a3dcd7ede0d822471bccc6550688c0d74_icgraph" alt=""/></div>
<map name="aclass_base_bag_a3dcd7ede0d822471bccc6550688c0d74_icgraph" id="aclass_base_bag_a3dcd7ede0d822471bccc6550688c0d74_icgraph">
<area shape="rect" title="向背包内放入东西，返回是否放入成功" alt="" coords="825,31,961,57"/>
<area shape="rect" href="class_buff_bag.html#ae2dfdb782565fe8384b9261c9ae34bda" title="向buff背包内放置物品" alt="" coords="644,5,772,32"/>
<area shape="rect" href="class_base_bag.html#a87bb57c8aab2d24dfb07f8c0e225eaea" title="尝试交换两个背包内的物品，可能失败" alt="" coords="639,56,777,83"/>
<area shape="rect" href="class_base_scene.html#ae18694318eacca974fba5f4005bf44cf" title="刷新场景" alt="" coords="417,56,591,83"/>
<area shape="rect" href="class_base_scene.html#a889d8e409b748d9af28dd0d547801bb9" title="启动游戏" alt="" coords="247,56,369,83"/>
<area shape="rect" href="class_base_scene_ui.html#a43dd94fb44be28fbde58e7d9614b5900" title="继续游戏" alt="" coords="5,31,199,57"/>
<area shape="rect" href="class_base_scene_ui.html#ac5b5974fb1dd35155932791c888f04d9" title="开始游戏" alt="" coords="35,81,169,108"/>
</map>
</div>

</div>
</div>
<a id="ad1ab953e57727217c20aa5fb6d851c20" name="ad1ab953e57727217c20aa5fb6d851c20"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad1ab953e57727217c20aa5fb6d851c20">&#9670;&nbsp;</a></span>normalRefresh()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void BaseBag::normalRefresh </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>每帧刷新是调用，可以在此进行可消耗物品的刷新 </p>

<p>被 <a class="el" href="class_buff_bag.html#af67b69e7f043f1f607e4b886ab75cc3c">BuffBag</a> 重载.</p>

</div>
</div>
<a id="a63b46cc31fb2c6029a8643dc78126d82" name="a63b46cc31fb2c6029a8643dc78126d82"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a63b46cc31fb2c6029a8643dc78126d82">&#9670;&nbsp;</a></span>operator[]()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_base_item.html">BaseItem</a> * BaseBag::operator[] </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>取背包内对应下标的物品 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">index</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="a15cc761c013e5cc36db4ec45e642f531" name="a15cc761c013e5cc36db4ec45e642f531"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a15cc761c013e5cc36db4ec45e642f531">&#9670;&nbsp;</a></span>outputItem() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool BaseBag::outputItem </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_base_item.html">BaseItem</a> **&#160;</td>
          <td class="paramname"><em>drop_object_star</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>从背包丢出东西，用于在背包之间转移东西 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">drop_object_star</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd></dd></dl>

</div>
</div>
<a id="a179deee9049854bd7a8e108ca3e2f3dd" name="a179deee9049854bd7a8e108ca3e2f3dd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a179deee9049854bd7a8e108ca3e2f3dd">&#9670;&nbsp;</a></span>outputItem() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool BaseBag::outputItem </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_point.html">Point</a> &amp;&#160;</td>
          <td class="paramname"><em>drop_pos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_drop_object.html">DropObject</a> **&#160;</td>
          <td class="paramname"><em>drop_object_star</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>从背包丢出东西 返回是否丢弃成功 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">drop_pos</td><td></td></tr>
    <tr><td class="paramname">drop_object_star</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd></dd></dl>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="class_base_bag_a179deee9049854bd7a8e108ca3e2f3dd_icgraph.png" border="0" usemap="#aclass_base_bag_a179deee9049854bd7a8e108ca3e2f3dd_icgraph" alt=""/></div>
<map name="aclass_base_bag_a179deee9049854bd7a8e108ca3e2f3dd_icgraph" id="aclass_base_bag_a179deee9049854bd7a8e108ca3e2f3dd_icgraph">
<area shape="rect" title="从背包丢出东西 返回是否丢弃成功" alt="" coords="880,42,1024,69"/>
<area shape="rect" href="class_base_player.html#aac31c29c954679acce97217293bad308" title="刷新攻击冷却并根据传入的attack攻击" alt="" coords="639,5,832,47"/>
<area shape="rect" href="class_base_bag.html#a87bb57c8aab2d24dfb07f8c0e225eaea" title="尝试交换两个背包内的物品，可能失败" alt="" coords="666,71,805,98"/>
<area shape="rect" href="class_base_scene.html#ae18694318eacca974fba5f4005bf44cf" title="刷新场景" alt="" coords="417,71,591,98"/>
<area shape="rect" href="class_base_scene.html#a889d8e409b748d9af28dd0d547801bb9" title="启动游戏" alt="" coords="247,71,369,98"/>
<area shape="rect" href="class_base_scene_ui.html#a43dd94fb44be28fbde58e7d9614b5900" title="继续游戏" alt="" coords="5,46,199,73"/>
<area shape="rect" href="class_base_scene_ui.html#ac5b5974fb1dd35155932791c888f04d9" title="开始游戏" alt="" coords="35,97,169,123"/>
</map>
</div>

</div>
</div>
<a id="a2490bc1b4b60b9e1aa997b3d8efaff1d" name="a2490bc1b4b60b9e1aa997b3d8efaff1d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2490bc1b4b60b9e1aa997b3d8efaff1d">&#9670;&nbsp;</a></span>setItemIndex()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void BaseBag::setItemIndex </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>itemIndex</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置当前物品索引 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">itemIndex</td><td></td></tr>
  </table>
  </dd>
</dl>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="class_base_bag_a2490bc1b4b60b9e1aa997b3d8efaff1d_icgraph.png" border="0" usemap="#aclass_base_bag_a2490bc1b4b60b9e1aa997b3d8efaff1d_icgraph" alt=""/></div>
<map name="aclass_base_bag_a2490bc1b4b60b9e1aa997b3d8efaff1d_icgraph" id="aclass_base_bag_a2490bc1b4b60b9e1aa997b3d8efaff1d_icgraph">
<area shape="rect" title="设置当前物品索引" alt="" coords="639,31,796,57"/>
<area shape="rect" href="class_base_scene.html#ae18694318eacca974fba5f4005bf44cf" title="刷新场景" alt="" coords="417,31,591,57"/>
<area shape="rect" href="class_base_scene.html#a889d8e409b748d9af28dd0d547801bb9" title="启动游戏" alt="" coords="247,31,369,57"/>
<area shape="rect" href="class_base_scene_ui.html#a43dd94fb44be28fbde58e7d9614b5900" title="继续游戏" alt="" coords="5,5,199,32"/>
<area shape="rect" href="class_base_scene_ui.html#ac5b5974fb1dd35155932791c888f04d9" title="开始游戏" alt="" coords="35,56,169,83"/>
</map>
</div>

</div>
</div>
<a id="a87bb57c8aab2d24dfb07f8c0e225eaea" name="a87bb57c8aab2d24dfb07f8c0e225eaea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a87bb57c8aab2d24dfb07f8c0e225eaea">&#9670;&nbsp;</a></span>swapItem()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void BaseBag::swapItem </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_base_bag.html">BaseBag</a> *&#160;</td>
          <td class="paramname"><em>bag1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_base_bag.html">BaseBag</a> *&#160;</td>
          <td class="paramname"><em>bag2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>尝试交换两个背包内的物品，可能失败 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">bag1</td><td></td></tr>
    <tr><td class="paramname">bag2</td><td></td></tr>
  </table>
  </dd>
</dl>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="class_base_bag_a87bb57c8aab2d24dfb07f8c0e225eaea_cgraph.png" border="0" usemap="#aclass_base_bag_a87bb57c8aab2d24dfb07f8c0e225eaea_cgraph" alt=""/></div>
<map name="aclass_base_bag_a87bb57c8aab2d24dfb07f8c0e225eaea_cgraph" id="aclass_base_bag_a87bb57c8aab2d24dfb07f8c0e225eaea_cgraph">
<area shape="rect" title="尝试交换两个背包内的物品，可能失败" alt="" coords="5,31,144,57"/>
<area shape="rect" href="class_base_bag.html#a602a4d3f0bd9a9f5e010d4ed13c00afd" title="用于检测物体与背包的兼容性，限制物品类型的背包必须实现 不检查背包剩余容量" alt="" coords="384,5,541,32"/>
<area shape="rect" href="class_base_bag.html#a3dcd7ede0d822471bccc6550688c0d74" title="向背包内放入东西，返回是否放入成功" alt="" coords="196,31,332,57"/>
<area shape="rect" href="class_base_bag.html#a179deee9049854bd7a8e108ca3e2f3dd" title="从背包丢出东西 返回是否丢弃成功" alt="" coords="192,81,336,108"/>
</map>
</div>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="class_base_bag_a87bb57c8aab2d24dfb07f8c0e225eaea_icgraph.png" border="0" usemap="#aclass_base_bag_a87bb57c8aab2d24dfb07f8c0e225eaea_icgraph" alt=""/></div>
<map name="aclass_base_bag_a87bb57c8aab2d24dfb07f8c0e225eaea_icgraph" id="aclass_base_bag_a87bb57c8aab2d24dfb07f8c0e225eaea_icgraph">
<area shape="rect" title="尝试交换两个背包内的物品，可能失败" alt="" coords="639,31,777,57"/>
<area shape="rect" href="class_base_scene.html#ae18694318eacca974fba5f4005bf44cf" title="刷新场景" alt="" coords="417,31,591,57"/>
<area shape="rect" href="class_base_scene.html#a889d8e409b748d9af28dd0d547801bb9" title="启动游戏" alt="" coords="247,31,369,57"/>
<area shape="rect" href="class_base_scene_ui.html#a43dd94fb44be28fbde58e7d9614b5900" title="继续游戏" alt="" coords="5,5,199,32"/>
<area shape="rect" href="class_base_scene_ui.html#ac5b5974fb1dd35155932791c888f04d9" title="开始游戏" alt="" coords="35,56,169,83"/>
</map>
</div>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>D:/Code/cProgram/CPP/Qt/TeamCurriculumDesign/Item/Bag/<a class="el" href="_base_bag_8h_source.html">BaseBag.h</a></li>
<li>D:/Code/cProgram/CPP/Qt/TeamCurriculumDesign/Item/Bag/BaseBag.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.2
</small></address>
</body>
</html>
